SFTP is an interactive file transfer program. It is similar to FTP, but it is encrypted and has higher security than FTP. Below is a brief introduction of how to connect the host remotely, file upload and download, and some related operations.For example, if the remote host IP is 202.206.64.33 or domain name www.hebust.edu.cn, the user name is Fyt, in the command line
Scp
Help command: Man SCP
If you want to upload or want to download the directory, the best way is to use the tar compression, is the most sensible choice.Downloading things from a remote host to the local computer
Copy File command
SCP User@host:/path/file/localpath//SCP user name @ip:/file path/local file pathIf the copy directory isScp-r User@host:/dirpath/localpath//That is scp-r username @ip:/direc
to the remote host/var/www/fuyatao/directory.If you do not know what the remote host directory is, the PWD command can help you query the current path of the remote host. Query native current working directory lpwd.Change the path can be used CD, change the local path can be used LCD;LS RM rmdir mkdir These commands are available. The same call native is add L, that is, Lls LRM.To leave SFTP, use Exit or q
/www/fuyatao/directory.If you do not know what the remote host directory is, the PWD command can help you query the current path of the remote host. Query native current working directory lpwd.Change the path can be used CD, change the local path can be used LCD;LS RM rmdir mkdir These commands are available. The same call native is add L, that is, Lls LRM.To leave SFTP, use Exit or quit, bye. The man
SFTP Introduction
SFTP is a secure File Transfer protocol abbreviation for security FTP. You can provide a secure encryption method for transferring files. SFTP and FTP have almost the same syntax and functionality
Introduction to SCP
Transfer files between two hosts generally use the SCP command, usually using the
SFTP is an interactive file transfer program. It is similar to FTP, but it is encrypted and has higher security than FTP. Below is a brief introduction of how to connect the host remotely, file upload and download, and some related operations.For example, if the remote host IP is 202.206.64.33 or domain name www.hebust.edu.cn, the user name is Fyt, in the command line
SFTP is an interactive file transfer program. It is similar to FTP, but it is encrypted and has higher security than FTP. Below is a brief introduction of how to connect the host remotely, file upload and download, and some related operations.For example, if the remote host IP is 202.206.64.33 or domain name www.hebust.edu.cn, the user name is Fyt, in the command line
Software (package) installation/uninstallationYum-y Install package name (Support *): automatic selection of y, automaticYum Install package name (support *): Manually select Y or nYum Remove package name (not supported *)RPM-IVH Package Name (support *): Install RPM PackageRPM-E Package name (not supported *): Uninstall RPM Package-----------------------------------------------------------First install: RZ SZ Command Pack (if installed, no more insta
SFTP is an interactive file transfer program. It is similar to FTP, But it performs encrypted transmission, which is more secure than FTP. The following describes how to remotely connect to the host, upload and download files, and perform related operations.Install apt-Get install SFTP In ubuntu. Make sure that you have sufficient permissions to install this program.How to Use the
commands or a few, such as LS, LLS;CD, lcd;pwd, Lpwd, and so on. See the help output specifically.
SFTP is the secure file transfer program, which is based on SSH and is handy for passing documents between two Linux systems.
To deliver documents using SFTP, you should first turn on the SSH service on the server side, and if not, you can generally open it by
Linux sftp remote connection command sftp-oPort = 60001 the root@192.168.0.254 uses the-o option to specify the port number. -oPort = remote port number sftp> get/var/www/fuyatao/index. in php/home/fuyatao/, the index is stored in the/var/www/fuyatao/directory of the remote
Many children's shoes for if you are unfamiliar with the commands for uploading and downloading at the character terminal, here's how to upload and copy files via SFTP and SCP commands.First look at the SFTP command:For example: Now I have two VMs, namely 192.168.1.118 and 192.168.1.121, assuming that 121 of the host is a remote server and that there is a user2 user on the server. At this point, you want to
, sftp is a program of ssh .) Sftp get/var/www/fuyatao/index. in php/home/fuyatao/, the index is stored in the/var/www/fuyatao/directory of the remote host. download php to the local/home/fuyatao/directory. Sftp put/home/fuyatao/downloads/Linuxgl.pdf/var/www/fuyatao/This statement uploads the linuxlinuxgl.pdf file in the local/home/fuyatao/downloads/directory to
command-line editing:Cursor Jump:CTRL + A: Skip to the beginning of the commandCtrl+e: Jump to the end of the command lineCtrl+u: Delete the cursor to the beginning of the command lineCTRL+K: Delete the cursor to the end of the command lineCtrl+l: Clear ScreenCtrl+d: Delete
How to use and run PHP scripts from the Linux command line, the Linux command line PHP script
The following is an illustrated way to share with you under the Linux
Fun in the terminal: 6 interesting Linux Command Line tools, linux Command Line
Article link:
Http://hpw123.net/a/Linux/ruanjiananzhuang/2014/1103/117.html
More articles are availableH
Linux Command Line input summary, linux Command Line SummaryLinux basic command input
New User: useradd [user name]; Change User name: usermod-l (Note: lowercase letter L) [user name yo
Use fetion in Linux Command Line and linux Command Line fetionDownload the fetionprogram and other linuxso programs from http://www-it-adv.net/1. Install FeixinDecompress the package in windows and upload it to
Linux Command Line options and parameters, linux Command Line options
1. main function parameter form
Int main (int argc, char * argv [], char * env []); // The first argc parameter indicates the number of parameters in the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.